package com.xqboss.apps.vo.user;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 用户身份
 *
 * @author makejava
 * @since 2023-12-05 14:58:38
 */
@Data
@ApiModel("用户-身份简单视图")
public class UserIdentitySimpleVo {


    @ApiModelProperty("身份ID")
    private Long id;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("最高段位")
    private Integer highestRank;

    @ApiModelProperty("冷却时间(分钟)")
    private Integer cooldownTime;

    @ApiModelProperty("前置身份段位id")
    private Long preIdentityRankId;

    @ApiModelProperty("前置身份段位全称")
    private String preIdentityRankFullName;

    @ApiModelProperty("创建时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING,locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ApiModelProperty("是否可编辑")
    private Boolean isEdit;

}